package com.ruoyi.common.utils;

import java.util.Random;

/**
 * @Author xiaom
 * @Date 2021/2/15 15:09
 * @Version 1.0.0
 * @Description <>
 **/
public class Utils {

    public static int getRandomNumberInRange(int min, int max) {
        Random r = new Random();
        return r.ints(min, (max + 1)).findFirst().getAsInt();
    }
}
